<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="white">
    <link rel="stylesheet" href="../dist/main.css">
</head>
<body style="background: #F1F1F1 !important;">
<div id="companyInfo">

    <div class="textBox" id="usrAgrment">
        <div class="mainBox" id="changePass">
            <img src="../img/leftPassword(40_40).png" alt="" style="position: relative;bottom: 0.09rem;">
            <span>修改密码</span>
            <i class="mui-icon mui-icon-arrowright"></i>

        </div>
        <div class="mainBox"style="margin-top: 6.24rem">
            <button class="sureButton" style="background: #ffffff;color: #ffaa05" id="loOut">安全退出</button>

        </div>
    </div>

</div>
<view></view>
<script src="../dist/main.js"></script>

<script>

    (function () {
        for(x in mt5Obj){
            $("#"+x).html(mt5Obj[x])
        }
        $("title").html(mt5Obj.title)
    })();
    // goLogin()
    mui("body").on('tap','#changePass',function(){
      goUrl("changePass","4")
    })
    //退出
    mui("body").on('tap','#loOut',function(){
        $.ajax({
            url: mt5Obj.allUrl+"users/logout",
            success:function (data) {
                if(data.data){
                    goUrl("login");
                }
            }
        })
    })

</script>

</body>
</html>


